<template>
  <div class="table-container">
    <el-container style="border: 1px solid #eee">
      <el-aside width="200px" style="background-color: #fff">
        <el-menu :default-openeds="['1', '3']">
          <el-submenu index="1">
            <el-menu-item-group>
              <template slot="title">项目准备阶段</template>
              <el-menu-item index="1-1">自动起草通知书</el-menu-item>
            </el-menu-item-group>
            <el-menu-item-group title="审计实施阶段">
              <el-menu-item index="1-3">自动生成审计底稿</el-menu-item>
              <el-menu-item index="1-3">标书查雷同性检查</el-menu-item>
              <el-menu-item index="1-3">法规检索</el-menu-item>
              <el-menu-item index="1-3">自动生成sq1语句</el-menu-item>
              <el-menu-item index="1-3">自动生成审计报告</el-menu-item>
            </el-menu-item-group>
            <el-menu-item-group>
              <template slot="title"></template>
              <el-menu-item index="1-1">审计报告阶段</el-menu-item>
            </el-menu-item-group>
            <el-menu-item-group>
              <template slot="title">审计整改阶段</template>
              <el-menu-item index="1-1">审计整改材料提炼</el-menu-item>
            </el-menu-item-group>
          </el-submenu>
        </el-menu>
      </el-aside>

      <el-container>
        <el-main>
          <el-card class="box-card" shadow="never">
            <el-form ref="form" :model="form">
              <div style="margin-bottom: 10px; color: #909399">文本</div>
              <el-input
                type="textarea"
                v-model="form.desc"
                rows="20"
                style="width: 60%"
                placeholder="🎉审计系统只能升级，AI智能审计管理系统，请输入对应需要审计的文本"
              ></el-input>
              <div style="margin: 20px 0px 10px 0px; color: #909399">知识库</div>
              <el-select v-model="form.region" placeholder="请选择知识库">
                <el-option label="知识库一" value="shanghai"></el-option>
                <el-option label="知识库二" value="beijing"></el-option>
              </el-select>
              <el-form-item style="margin: 20px 0px 10px 0px">
                <el-button type="warning" @click="onSubmit">立即生成</el-button>
                <el-button>取消</el-button>
              </el-form-item>
            </el-form>
          </el-card>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  export default {
    name: 'bmld',

    data() {
      return {
        form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: '',
        },
      }
    },
    computed: {
      height() {
        return this.$baseTableHeight()
      },
    },
    created() {},
    beforeDestroy() {},
    mounted() {},
    methods: {},
  }
</script>
